package com.wlhse.service.impl;

import com.wlhse.dao.QhseeCheckPersonDao;
import com.wlhse.entity.QhseeCheckPersonPojo;
import com.wlhse.service.QhseeCheckPersonService;
import com.wlhse.util.state_code.CodeDict;
import com.wlhse.util.state_code.NR;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class QhseeCheckPersonServiceImpl implements QhseeCheckPersonService {

    @Resource
    private QhseeCheckPersonDao qhseeCheckPersonDao;

    @Override
    public String queryCheckPersonByName(String checkPersonName) {
        return NR.r(CodeDict.CODE_MESSAGE_DATA, 0, 0, qhseeCheckPersonDao.queryCheckPersonByName(checkPersonName), null, 0, 0);
    }
}
